package com.easonji.common.base.query;

import java.io.Serializable;

/**
 * @ClassName: BaseQuery
 * @Description: 通用查询条件
 * @Author: LiuJun
 * @date: 2018/07/23 17:48
 * @Version: 1.0
 * @Copyright: Copyright (c) 2018 - 2019
 */
public class BaseQuery implements Serializable {

    private static final long serialVersionUID = 4297000462620594923L;

    /**
     * 开始时间
     */
    protected String beginTime;

    /**
     * 结束时间
     */
    protected String endTime;

    /**
     * 通用查询条件
     */
    protected String condition;

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    @Override
    public String toString() {
        return "{\"beginTime\":\"" + beginTime + "\",\"endTime\":\"" + endTime + "\",\"condition\":\"" + condition
                + "\"} ";
    }
}
